package com.atguigu.stgy.model.entity;

import com.atguigu.stgy.model.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
    * 租期
    */
@Schema(description="租期")
@Data
@EqualsAndHashCode(callSuper=true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "lease_term")
public class LeaseTerm extends BaseEntity {
    /**
     * 租期
     */
    @TableField(value = "month_count")
    @Schema(description="租期")
    private Integer monthCount;

    /**
     * 租期单位
     */
    @TableField(value = "unit")
    @Schema(description="租期单位")
    private String unit;
}